package com.tbit.main.service.impl;

import com.tbit.main.dao.stat.OperationHourStaDao;
import com.tbit.main.pojo.OperationHourSta;
import com.tbit.main.service.OperationHourStaService;
import com.tbit.main.util.StringUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @author LMY
 * @create 2021-01-12 18:56
 * 分时统计
 */
@Service("operationHourStaService")
public class OperationHourStaServiceImpl implements OperationHourStaService {

    @Autowired
    private OperationHourStaDao operationHourStaDao;

    @Override
    public List<OperationHourSta> getByAccountIdDate(List<Integer> accountId) {
        return operationHourStaDao.getByAccountIdDate(StringUtil.getListString(accountId));
    }
}
